package com.zaimokuza.cn.entity.auth;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.util.ArrayList;

/**
 * @author zaimokuza
 */
@ApiModel("用户角色关联信息")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserRoleRelation {

    @ApiModelProperty("用户ID")
    @NotBlank(message = "请选择用户！")
    private String userId;
    @ApiModelProperty("角色ID集合")
    private ArrayList<String> roleIdList;

}
